<template >
    <el-drawer :title="options.title" :visible.sync="options.dialogVisible" v-bind="options" class="drawer">
        <render :render="render" :options="options"></render>
    </el-drawer>
</template>

<script>
import render from "./render.vue";
export default {
    data () {
        return {
            options: {},
            render () { },
        };
    },
    methods: {
        handerClick (item) {
            item?.click(this.options, item);
        },
    },
    components: {
        render,
    },
};
</script>

<style lang="scss" scoped>
::v-deep .el-drawer__body {
    padding: 20px;
}
</style>
